package cn.wedding.service.Impl;

import cn.wedding.dao.AdminDao;
import cn.wedding.dao.impl.AdminImpl;
import cn.wedding.entity.Admin;
import cn.wedding.service.AdminService;

public class AdminServiceImpl implements AdminService {
    @Override
    public Admin login(String adminName, String password) {
        AdminDao adminDao = new AdminImpl();
        return adminDao.login(adminName,password);
    }
}
